<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>日常</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <style>
  #tapbody {
    width: 100%;
    height: 400px;
  }
  .white {
    background: #eee;
  }
  .red {
    background: red
  }
  </style>
</head>

<body>

  <div id="tapbody" class="white">
    
  </div>
  <a href="javascript:" id="link"> 测试连接 </a>

  <script src="lodash.js"></script>
  <script src="../util.js"></script>

  <script>
    console.log(t.urldata());

    // tap 事件
    t.tap();

    document.addEventListener('tap', function(e) {
      e.target.classList.toggle('red');
    }, false)
  </script>
</body>

</html>